<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
		<script type="text/javascript">
			
			//console.log(Math.ceil(-1.5));
			
			var arr=[1,2,5,6,5,4];
			
			for (var i = 0; i < arr.length; i++) {
				var p=arr[i];
			}
			console.log(Math.max(p));
		</script>
	</head>
	<body>
	</body>
</html>
